<%@ page language="java" import="java.util.*,java.text.*" pageEncoding="utf-8"%>

<%
String path = request.getContextPath();
String basePath = request.getScheme()+"://"+request.getServerName()+":"+request.getServerPort()+path+"/";
%>

<!DOCTYPE HTML>
<html>
  <head>
    <base href="<%=basePath%>">
    
    <title>java56-酷维科技首页</title>
	<meta http-equiv="pragma" content="no-cache">
	<meta http-equiv="cache-control" content="no-cache">
	<meta http-equiv="expires" content="0">    
	<meta http-equiv="keywords" content="keyword1,keyword2,keyword3">
	<meta http-equiv="description" content="This is my page">
	<!--
	<link rel="stylesheet" type="text/css" href="styles.css">
	-->
  </head>
  
  <body>
  <%@include file="checkLogin.jsp" %>
<%--    <%
 	//session.setMaxInactiveInterval(50);//
 	//先判断一下
 	String name=(String)session.getAttribute("USER_LOGIN");
 	if(name==null){
 		//location=''
 		out.print("<script>alert('您还没有登录，给钱也不卖');location.replace('login.jsp');</script>");
 		return;
 	}
  %>
  <h2>欢迎<%=name%>&nbsp;&nbsp;<a href="logout.jsp">退出</a></h2>
   --%>
  
   <h1 style="color:red;font-size:120px">
      大吉大利
   </h1>
   <%
   	Date d=new Date();
   	//out.print(d);
   	SimpleDateFormat df=new SimpleDateFormat("yyyy-MM-dd hh:mm:ss");
   	String str=df.format(d);
   	out.print(str);
   	String name="周鹏";
   	out.print(name);
    %>
  </body>
</html>
